package pdm.traj.data;

import java.util.ArrayList;
import java.util.List;

public class TrackCollection {
	private List<Track> tracks =  new ArrayList<Track>();
	private double centerLat =0;
	private double centerLng=0;
	
	public void addTrack(Track t){
		tracks.add(t);
	}
	//TODO
	public boolean removeTrack(){
		return false;
	}
	
	public void insertTrack(int index, Track t){
		tracks.add(index, t);
	}
	
	public List<Track> getTracks(){
		return this.tracks;
	}
	
	public double getCenterLat(){
		return this.centerLat;
	}
	
	public double getCenterLng(){
		return this.centerLng;
	}
	
	public void setCenterLat(double lat){
		this.centerLat = lat;
	}
	
	public void setCenterLng(double lng){
		this.centerLng = lng;
	}
}
